<?php

$path = substr($_SERVER["REQUEST_URI"],1);
$path = explode("?", $path)[0];

$routes = [
	"pre"   =>"pre.php",
	"login" =>"login.php",
	"intro" =>"info.php",
	"verify"=>"verify.php",
	"info"  =>"info.php",
	"table" =>"table.php",
	"exam"  =>"exam.php",
	"score" =>"score.php",
	
];

if(!isset($routes[$path])){
	echo "welcom to campus_nr!";exit;
}

include("./".$routes[$path]);